package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.Group;

import java.util.List;

import vn.edu.ptithcm.pim.dao.GroupDao;
@SuppressWarnings({ "rawtypes" })
public class GroupService {
	private GroupDao groupDao;

	public GroupDao getGroupDao() {
		return groupDao;
	}

	public void setGroupDao(GroupDao groupDao) {
		this.groupDao = groupDao;
	}

	public void save(Group group) {
		groupDao.save(group);
	}

	public void saveOrUpdate(Group group) {
		groupDao.saveOrUpdate(group);
	}

	public void lock(Group group) {
		groupDao.lock(group);
	}

	public void delete(Group group) {
		groupDao.delete(group);
	}

	public Group merge(Group group) {
		return groupDao.merge(group);
	}

	public Group findById(java.lang.Long id) {
		return groupDao.findById(id);
	}

	public List findByExample(Group group) {
		return groupDao.findByExample(group);
	}

	public List getAll() {
		return groupDao.getAll();
	}

	
}
